package com.tamtamy.jttamobile.data;

import java.util.ArrayList;
import java.util.Date;

public class ContentMessage extends Content{
	
	private static final long serialVersionUID = -6786665549425057165L;
	
	protected String contentType;
	protected String contentTypeCategory;
	protected boolean thumbnailPresent;

	public ContentMessage() {
		super();
		this.contentType = null;
		this.contentTypeCategory = null;
		this.size = null;
		this.thumbnailPresent = false;
	}

	public ContentMessage(long id, String title, String url, String description,
			String permission, String discussionPermission,
			Date creationDate, Date updateDate, String userID,
			String favouriteCounter, String highlight, String numberOfComments,
			String rateEnabled, ArrayList<String> tags, String rate,
			String ratesNumber, String languageCode,
			ArrayList<String> commentList, String views, String downloads,
			String network, String contentType, String contentTypeCategory,
			String size, boolean thumbnailPresent) {
		super(id, title, url, description, permission, discussionPermission, creationDate, updateDate, userID, favouriteCounter, highlight, numberOfComments, rateEnabled, tags, rate, ratesNumber, languageCode, commentList, views, downloads, network, network, contentTypeCategory, contentTypeCategory, contentTypeCategory, contentType, contentTypeCategory, size, thumbnailPresent);
		this.contentType = contentType;
		this.contentTypeCategory = contentTypeCategory;
		this.description = description;
		this.size = size;
		this.thumbnailPresent = thumbnailPresent;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	@Override
	public String toString() {
		return "ContentMessage [contentType=" + contentType
				+ ", contentTypeCategory=" + contentTypeCategory + ", size="
				+ size + ", thumbnailPresent=" + thumbnailPresent + ", id="
				+ id + ", title=" + title + ", url=" + url + ", description="
				+ description + ", permission=" + permission
				+ ", discussionPermission=" + discussionPermission
				+ ", creationDate=" + creationDate + ", updateDate="
				+ updateDate + ", userID=" + userID + ", favouriteCounter="
				+ favouriteCounter + ", highlight=" + highlight
				+ ", numberOfComments=" + numberOfComments + ", rateEnabled="
				+ rateEnabled + ", tags=" + tagList + ", rate=" + rate
				+ ", ratesNumber=" + ratesNumber + ", languageCode="
				+ languageCode + ", commentList=" + commentsList + ", views="
				+ views + ", downloads=" + downloads + ", network=" + network
				+ ", descriptionPlainText=" + descriptionPlainText
				+ ", permalink=" + permalink + ", modCount=" + modCount + "]";
	}
	
}
